Post S7. Buffy and Xander head to Gotham to help out AI with some of the evil lawyers - oh, and do some shopping. They run into Batman and his crew. Wackiness, of course, ensues.
(
Gotham City was even more fucked up than Sunnydale, and that was saying something. )